Hummingbird\Core\Modules\Page_Cache D

Total Complexity 328
Dependencies 6
Dependents 2
Total lines 2,008
Lines of code 1,011
Logical lines of code 654
Comment lines 718
Methods 50
Properties 3

Methods 50

Method Rating Maintainability Complexity Lines of code
cache_request()
B
36 23 75
clear_cache()
B
38 21 64
should_cache_request()
B
41 21 48
purge_post_cache()
B
38 19 63
skip_page_type()
B
50 19 25
post_status_change()
A
51 13 26
serve_cache()
A
46 11 38
load_config()
A
48 10 29
toggle_service()
A
51 10 28
log_msg()
A
51 10 25
cleanup()
A
50 9 27
module_status()
A
56 9 16
init_filesystem()
A
52 8 25
check_plugin_compatibility()
A
47 7 33
skip_url()
A
55 8 17
check_wp_settings()
S
52 7 27
get_page_headers()
S
53 7 23
send_file()
S
54 7 20
maybe_update_advanced_cache()
S
55 7 20
send_headers()
S
48 6 32
init_caching()
S
54 6 21
get_page_headers_cached()
S
54 6 21
post_edit()
S
55 6 20
clear_on_comment_post()
S
60 6 13
skip_user_agent()
S
60 6 12
get_cookies()
S
56 5 18
skip_custom_cookies()
S
58 5 14
get_file_cache_path()
S
54 4 19
save_settings()
S
56 4 18
can_serve_compressed()
S
64 5 9
logged_in_user()
S
62 4 11
check_minification_queue()
S
63 4 11
get_settings()
S
57 3 17
add_index()
S
65 4 9
run()
S
55 2 18
init_preloader()
S
68 3 7
clear_external_cache()
S
70 3 6
get_page_types()
S
59 2 14
get_default_settings()
S
51 1 27
skip_subsite()
S
68 2 7
skip_custom_post_type()
S
69 2 7
is_mobile_agent()
S
63 2 10
clear_cache_action()
S
70 2 7
write_file()
S
67 2 8
activate()
S
71 2 6
init()
S
79 1 3
clear_cache_button()
S
72 1 7
clear_cache_message()
S
74 1 4
disable()
S
80 1 3
enable()
S
80 1 3